package cn.iocoder.yudao.module.trade.api.brokerage;

import cn.iocoder.yudao.module.trade.api.brokerage.dto.BrokerageRecordDto;

import java.util.List;

/**
 * 分享推广数据记录Api
 */
public interface BrokerageRecordApi {


    /**
     *
     * @param rankingId 排行榜活动ID
     * @return
     */
    List<BrokerageRecordDto> getUserBrokerageRecordListByRankingId(Long rankingId);


    /**
     * 获取指定用户的排行榜活动的积分
     * @param rankingId
     * @param userId
     * @return
     */
    BrokerageRecordDto getUserBrokerageRecordListByRankingIdAndUserId(Long rankingId,Long userId);


}
